ROS service tutorial -- make error
I am just learning ROS. I was following the tutorial here:
http://www.ros.org/wiki/ROS/Tutorials/WritingServiceClient%28c%2B%2B%29
Then I tried to 'make' the package, beginner_tutorials, but this is the output I got. There cannot be an error in the already made tutorial packages. Am I missing something?
[ 75%] Building CXX object CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.o In file included from /home/gregkoshmak/ros_workspace/beginner_tutorials/src/add_two_ints_client.cpp:2: /home/gregkoshmak/ros_workspace/beginner_tutorials/srv_gen/cpp/include/beginner_tutorials/AddTwoInts.h:208: error: ‘IsMessage’ is not a template
make[2]: * [CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.o] Error 1 make[1]: * [CMakeFiles/add_two_ints_client.dir/all] Error 2
In the last paragraph, the tutorial offers some hints to fix failing builds. Did you already double-check those?
Make sure you've performed the following tutorial, regarding the creation of the srv file, successfully: http://www.ros.org/wiki/ROS/Tutorials/CreatingMsgAndSrv#Creating_a_srv. Seems to be a problem there.